﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace WTest.Model
{
    public class Tag
    {
        public int tag_id { get; set; }
        public int tag_sid { get; set; }
        public string tag_name { get; set; }

        public Tag(string _name)
        {
            tag_sid = 1;
            tag_name = _name;
        }

        public static void Insert(Tag t)
        {
            //string strSql = string.Format("insert into ff_tag(tag_id,tag_sid,tag_name)" +
            //    "values({0},{1},'{2}')",
            //    t.tag_id,
            //    t.tag_sid,
            //    t.tag_name);
            //MySqlHelper.ExecuteNonQuery(CommandType.Text, strSql, null);
        }

    }
}
